package com.kedsoft.andaily.service;

import com.kedsoft.andaily.entity.Depart;
import com.baomidou.mybatisplus.service.IService;
import com.kedsoft.andaily.vo.Pagination;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LGP
 * @since 2019-04-02
 */
public interface DepartService extends IService<Depart> {
    Pagination<Depart> pageList(Pagination<Depart> pagination, Map<String, Object> param);
    String maxCode(Integer pid);
    List<Depart> getAllList();
    List<Map<String,Object>> getDepartTree(Map<String, Object> query);
}
